:root {
	--totalWid: 100%;
	--themeColor: #03c5ff;
}
html,
body {
	width: var(--totalWid);
	height: 100vh;
	overflow-x: hidden;
}
#header {
	width: 100%;
	height: 66px;
}
header {
	z-index: 40;
	width: 100%;
	height: 65px;
	padding: 0 20px;
	/* background-color: var(--themeColor); */
	border-bottom: 1px solid #0d60d0;
}
header > a {
	display: block;
	width: 138px;
	height: 65px;
	padding-top: 15px;
	box-sizing: border-box;
}
header > a h1 {
	margin: 0;
	padding: 0;
	height: 65px;
	background: url(../imgs/api-new-logo-white.png) no-repeat;
}
header ul {
	height: 65px;
}
header ul li {
	height: 64px;
	line-height: 64px;
	margin: 10px;
}
header ul li a {
	display: block;
	height: 64px;
	line-height: 64px;
	/* margin: 10px; */
	color: #000;
}
header ul li.active {
	color: var(--themeColor);
	border-bottom: 2px solid var(--themeColor);
}
header ul li.active a {
	color: var(--themeColor);
}
header div span {
	display: inline-block;
	padding: 4px 6px;
	border-radius: 15px;
}
header div span:first-child {
	border: 1px solid #fff;
}
header div span:last-child {
	background-color: #f60;
}

main {
	width: 100%;
}
/* API分类 */
#apiCat {
	padding-top: 50px;
	width: 100%;
	height: 280px;
}
#apiCat .container h1 {
	padding: 20px;
	font-size: 22px;
}
#apiCatList {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
}
#apiCatList li {
	padding: 8px 16px;
	margin-right: 10px;
	margin-bottom: 10px;
	color: #666;
	border: 1px solid #ececec;
	border-radius: 15px;
	cursor: pointer;
}
/* 给第一个li添加激活效果 */
#apiCatList li.active {
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}
#apiCat #apiBt {
	height: 30px;
	margin-bottom: 20px;
}

/* 卡片区 */
#apiCards {
	width: 100%;
}
#apiCardsList {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
	width: 100%;
}
#apiCardsList li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 20px;
	margin-right: 10px;
	width: 224px;
	height: 270px;
	border: 1px solid #666;
	overflow: hidden;
	box-sizing: border-box;
	/* transition: all 2s; */
}
#apiCardsList li p:nth-child(2) {
	font-size: 12px;
	line-height: 44px;
}
#apiCardsList li p:nth-child(3) {
	font-size: 14px;
	line-height: 22px;
	/* color: green; 删除,不然给卡片区添加动态渲染时,价格区域颜色始终为绿色 */
}
#apiCardsList li > span {
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	background-color: #e7ffff;
	color: var(--themeColor);
	font-size: 12px;
}
#apiCardsList li > a {
	left: 50%;
	/* bottom: 20px; */
	bottom: -40px;
	transition: all 1s;
	transform: translate(-50%);
	width: 180px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background-color: #00bdff;
	color: #fff;
}
#apiCardsList li:hover {
	/* padding-top: 44px; */
	box-shadow: 6px 6px 18px #666;
}
#apiCardsList li:hover a {
	bottom: 20px;
}

/* 分页 */
#page {
	width: 100%;
	height: 40px;
}
#page ul {
	display: flex;
	justify-content: center;
}
#page ul li {
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50px;
	color: #000;
	cursor: pointer;
	margin: 0 10px;
}
#page .active {
	background-color: #00bdff;
	color: #fff;
}

/* 尾部 */
footer {
	height: 330px;
}
footer .sort {
	display: flex;
	justify-content: space-between;
	margin-top: 45px;
}
footer dl {
	line-height: 35px;
}
footer dl dd {
	color: #bab3b3;
}

footer .dlList {
	justify-content: space-between;
}

footer .quickMark {
	text-align: right;
	/* display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: flex-end; */
}
footer .quickMark p {
	color: #bab3b3;
	line-height: 35px;
}
footer .quickMark img {
	margin-top: 40px;
	background-color: #bab3b3;
}
/* 底部版权 */
.copyright {
	display: flex;
	justify-content: space-between;
}
.copyright .ok {
	display: flex;
}
.copyright img {
	margin: 0 8px;
}
.copyright p {
	color: #bab3b3;
}
.copyright-Bg {
	width: 40px;
	height: 40px;
	background: url(../imgs/returntopicon.jpg);
	background-position: 495px 306px;
	right: -55px;
	top: -13px;
	border-radius: 50%;
}

#mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 30%);
}

#loginModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 26px 20px;
	width: 400px;
	height: 550px;
	background-color: #fff;
}

#loginModal input {
	border: none;
	outline: none;
}

#loginModalLogo {
	margin: 0 auto;
	margin-bottom: 26px;
	width: 180px;
	height: 50px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}

#loginModalTab {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	width: 100%;
	height: 40px;
}

#loginModalTab a {
	width: 160px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	color: #555555;
}

#loginModalTab a.active {
	position: relative;
	color: var(--themeColor);
}

#loginModalTab a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	display: block;
	content: "";
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
}

#loginModalTab i {
	width: 1px;
	height: 20px;
	background-color: #eeeeee;
}

#loginUser {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}

#loginUser i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 24px 4px;
}

#loginPwd {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}

#loginPwd i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 55px 4px;
}

#forgetPwd {
	line-height: 50px;
}

#forgetPwd a {
	color: var(--themeColor);
}

#loginModal form [type="submit"] {
	width: 100%;
	height: 45px;
	line-height: 45px;
	text-align: center;
	background-color: var(--themeColor);
	color: #fff;
	font-size: 16px;
}

#loginModal form p:last-child {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
}

#loginModal form p:last-child a {
	color: var(--themeColor);
}
/* 扫码登录 */
#QuickMark {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	width: 300px;
	height: 300px;
	background-color: #fcfcfc;
	border: 1px solid #000;

}
#zhuce {
	line-height: 50px;
	font-size: 14px;
	margin-left: 30px;
	color: #909090;
}